
package com.jk.log.controller;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.alibaba.fastjson.JSONObject;
import com.jk.log.pojo.LogPojo;
import com.jk.log.service.RzService;
import com.jk.log.util.PagerUtil;


@Controller
@RequestMapping("rz")
public class RzController {

	@Resource
	private RzService rzService;
	//跳转展示页面
	@RequestMapping("/toshowStuPage")
	public String toshowStuPage(){
		return "WEB-INF/log/showlog";
	}
	
	//查询
	@RequestMapping("/queryLogPojoPage")
	@ResponseBody
	public Object queryLogPojoPage(LogPojo logPojo,PagerUtil pager){
		JSONObject json = rzService.queryStudentPage(logPojo,pager);
		return json;
	}
}
